package com.antaohua.tools.system.controller;

import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.antaohua.framework.web.controller.BaseController;
import com.antaohua.tools.framework.base.exception.QureyEntityException;
import com.antaohua.tools.system.entity.SysDictEntity;

@Controller
@RequestMapping("sys/dict")
public class SysDictController extends BaseController<SysDictEntity>{

	
	@RequestMapping(path="find_group")
	public @ResponseBody List<SysDictEntity> findByGroup(String groupId) throws QureyEntityException {
		
		return service.findByProperty("groupId",groupId);
	}
	
	
}
